//
//  queue.h
//  queue
//
//  Created by chenyh on 2021/1/26.
//

#ifndef queue_h
#define queue_h

#include <stdio.h>
#include <stddef.h>
#include <stdbool.h>

typedef int queueElementT;

typedef struct queueCDT * queueADT;
queueADT newQueue(void);
void     freeQueue(queueADT queue);
bool inQueue(queueADT queue, queueElementT value);
bool outQueue(queueADT queue, queueElementT *p_value);
bool queueIsEmpty(queueADT queue);
bool queueIsFull(queueADT queue);
size_t getQueueLength(queueADT queue);

#endif /* queue_h */
